//
//  FoodTableViewCell.swift
//  groupTaskTwo
//
//  Created by 刘青昀 on 16/11/3.
//  Copyright © 2016年 向银泉. All rights reserved.
//

import UIKit
import Kingfisher

class FoodTableViewCell: UITableViewCell {
    
    @IBOutlet weak var coverImageView: UIImageView!
    
    @IBOutlet weak var titleLabel: UILabel!
    
    @IBOutlet weak var yingyangLabel: UILabel!
    var model:cirPicModel? = nil{
        didSet{
            coverImageView.kf_setImageWithURL(NSURL.init(string: (model?.thumb)!)!, placeholderImage: UIImage.init(named: "1.jpg"))
            self.titleLabel.text = model?.title
            self.yingyangLabel.text = model?.yingyang
            
        }
    }
    
}
